#pragma once

#include <string>
#include <base/d3d.h>
#include <gui/GuiControl.h>

// a simple label control
class GuiLabel : public GuiControl  {
public:
   GuiLabel(Device * device, std::string text, long x, long y, bool isShadowed = false);
   ~GuiLabel() {}

   // set caption
   inline void SetText(std::string text) {_caption = text;}
   inline std::string GetText() {return _caption;}
   
   // inherited
   virtual void Draw(Device * device, double tElapsed) const;

private:
   bool _isShadowed;
   std::string _caption;
   long _font;

};